package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: TaskStagesSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_task_stages
 * Comment:
 * 任务列表表
 */
public class TaskStagesSuperController extends BaseController {
    @Autowired
    TaskStagesService service;

    public Integer addTaskStages(TaskStagesAddRequest request) throws Exception {
        return service.addTaskStages(request);
    }

    public Integer updateTaskStages(TaskStagesUpdateRequest request) throws Exception {
        return service.updateTaskStages(request);
    }

    public Integer deleteTaskStages(TaskStagesDeleteRequest request) throws Exception {
        return service.deleteTaskStages(request);
    }

    public TaskStagesQueryResponse queryTaskStages(TaskStagesQueryRequest request) throws Exception {
        return service.queryTaskStages(request);
    }

    public List<TaskStagesQueryResponse> listTaskStages(TaskStagesQueryRequest request) throws Exception {
        return service.listTaskStages(request);
    }

    public Integer countTaskStages(TaskStagesQueryRequest request) throws Exception {
        return service.countTaskStages(request);
    }

    public BaseStatResponse statTaskStages(TaskStagesQueryRequest request) throws Exception {
        return service.statTaskStages(request);
    }


}
